package edu.uidaho.pong;
public class ValueMsg {
	/*
	 * Contains the data read from arduino. 
	 * The flag is set according to the type of data
	 * 
	 * Flag		Meaning
	 * A		From sensor 1
	 * B		From sensor 2
	 * 
	 */
	private char flag;
	private int reading;
 
	public ValueMsg(char flag, int reading) {
		this.flag = flag;
		this.reading = reading;
	}
 
	public int getReading() {
		return reading;
	}
 
	public char getFlag() {
		return flag;
	}
}


